<template>
	<view class="content">
		<image style="width:100%;position: absolute;bottom:0;left:0;" mode="widthFix"
			src="../../static/images/suspended.svg"></image>
		<view class="loginBox">
			<h3 style="text-align: center;margin-bottom:120rpx;">当前服务暂时停止</h3>
			<view class="inputBox">
				<button @click="logout">退出应用</button>
			</view>
		</view>
	</view>
</template>


<script setup>

function logout() {
	
	uni.exitMiniProgram({
		success: function () {
			console.log('退出小程序成功');
		},
		fail: function (err) {
			console.log('退出小程序失败', err);
		}
	})
}
</script>

<style scoped>
svg {
	position: absolute;
	bottom: 0;
	left: 0;
	width: 100%;
	height: 40%;
	box-sizing: border-box;
	display: block;
	background-color: #ffffff;
}

.loginBox {
	position: absolute;
	top: 30%;
	left: 50%;
	transform: translate(-50%, -60%);
	width: 90%;
	border-radius: 20rpx;
	padding: 60rpx;
	box-sizing: border-box;
}

h3 {
	color: rgb(66, 157, 250);
	font-size: 40rpx;
	letter-spacing: 10rpx;
	margin-bottom: 40rpx;
}

.forgetPwd {
	margin-top: 30rpx;
	font-size: 26rpx;
	color: #b5b5b5;
	text-align: end;
	padding: 0 10rpx;
	display: flex;
	justify-content: space-between;
}

button {
	margin-top: 20rpx;
	line-height: 85rpx;
	text-align: center;
	background: rgb(66, 157, 250);
	border-radius: 40rpx;
	color: #fff;
	margin-top: 40rpx;
}

.tip {
	text-align: center;
	font-size: 28rpx;
	position: fixed;
	bottom: 50rpx;
	left: 50%;
	transform: translate(-50%, -50%);
	color: #f4f4f4;
}

.tipbox {
	text-align: center;
	margin-top: 100rpx;
}

.otherUser {
	margin-top: 30rpx;
	display: flex;
	justify-content: center;
}

.txt {
	font-size: 28rpx;
	color: #cbcbcb;
}

.otherUser .uni-icons {
	margin-left: 20rpx;
}

.yzm {
	text-align: end;
	font-size: 24rpx;
	background: linear-gradient(to right, rgb(66, 157, 250), rgb(0, 170, 127));
	height: 60rpx;
	width: 150rpx;
	line-height: 60rpx;
	text-align: center;
	border-radius: 10rpx;
	color: #fff;
}
</style>